@model Loading.Models.CartrigeRecipie

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>CartrigeRecipie</legend>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">PowderGrains</div>
    <div class="display-field">@String.Format("{0:F}", Model.PowderGrains)</div>

    <div class="display-label">Powder</div>
    <div class="display-field">@(Model.Powder == null ? "None" : Model.Powder.Name)</div>

    <div class="display-label">Primer</div>
    <div class="display-field">@(Model.Primer == null ? "None" : Model.Primer.Name)</div>

    <div class="display-label">Bullet</div>
    <div class="display-field">@(Model.Bullet == null ? "None" : Model.Bullet.Name)</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.CartrigeRecipieId }) |
    @Html.ActionLink("Back to List", "Index")
</p>


